package com.ruoyi.project.ledger.mapper;

import java.util.List;

import com.ruoyi.project.ledger.domain.LedgerBusinessWorker;
import com.ruoyi.project.ledger.domain.LedgerManagementRegistration;

/**
 * 管理人员登记台账Mapper接口
 *
 * @author ruoyi
 * @date 2020-04-14
 */
public interface LedgerManagementRegistrationMapper
{
    /**
     * 查询管理人员登记台账
     *
     * @param id 管理人员登记台账ID
     * @return 管理人员登记台账
     */
    public LedgerManagementRegistration selectLedgerManagementRegistrationById(Long id);

    /**
     * 查询管理人员登记台账列表
     *
     * @param ledgerManagementRegistration 管理人员登记台账
     * @return 管理人员登记台账集合
     */
    public List<LedgerManagementRegistration> selectLedgerManagementRegistrationList(LedgerManagementRegistration ledgerManagementRegistration);

    /**
     * 新增管理人员登记台账
     *
     * @param ledgerManagementRegistration 管理人员登记台账
     * @return 结果
     */
    public int insertLedgerManagementRegistration(LedgerManagementRegistration ledgerManagementRegistration);

    /**
     * 修改管理人员登记台账
     *
     * @param ledgerManagementRegistration 管理人员登记台账
     * @return 结果
     */
    public int updateLedgerManagementRegistration(LedgerManagementRegistration ledgerManagementRegistration);

    /**
     * 删除管理人员登记台账
     *
     * @param id 管理人员登记台账ID
     * @return 结果
     */
    public int deleteLedgerManagementRegistrationById(Long id);

    /**
     * 批量删除管理人员登记台账
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteLedgerManagementRegistrationByIds(Long[] ids);

    public LedgerManagementRegistration selectManagementRegistrationByIdCard(LedgerManagementRegistration ledgerManagementRegistration);

}
